package com.tanhua.model.db;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * @auther : 白月尘
 * @date : 9:07  2021/11/1
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "sound_file")
public class Peachblossom implements Serializable {
    private ObjectId id; //主键id
    private Long created; //创建时间
    private Long userId; //用户id
    private String soundUrl; //语音地址
    private Integer state = 0; //是否接收
}